import request from '@/utils/axios'


export default {
	// 发布商铺视频
	publishVideo: (data) => request({
		url: 'jstx.shop/publishVideo',
		method: 'post',
		data
	}),
	// 删除视频
	deleteVideo: (data) => request({
		url: 'jstx.shop/deleteVideo',
		method: 'post',
		data
	}),
	// 获取视频列表
	videoList: (data) => request({
		url: 'jstx.shop/videoList',
		method: 'post',
		data
	}),
	// 获取视频详情
	videoDetail: (data) => request({
		url: 'jstx.shop/videoDetail',
		method: 'post',
		data
	}),
	// 视频点赞/点黑
	video_support: (data) => request({
		url: 'jstx.shop/video_support',
		method: 'post',
		data
	}),
	// 视频评论
	video_comment: (data) => request({
		url: 'jstx.shop/video_comment',
		method: 'post',
		data
	}),
	// 获取视频评论列表
	video_comment_list: (data) => request({
		url: 'jstx.shop/video_comment_list',
		method: 'post',
		data
	}),
	// 删除视频评论
	video_comment_delete: (data) => request({
		url: 'jstx.shop/video_comment_delete',
		method: 'post',
		data
	}),
	// 付费下架商铺视频
	video_down: (data) => request({
		url: 'jstx.shop/video_down',
		method: 'post',
		data
	})
}